Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Displaying Rendered • View rawDownload


sbapp/kivymd/toast/README.md f8b3e3760b831745cf10d97aeae64e9c00a136a9 (f8b3e376) Text, 1.19 KB

KivyToast

A package for working with messages like Toast on Android. It is intended for use in applications written using the Kivy framework.

This package is an improved version of the package https://github.com/knappador/kivy-toaster in which human toasts are written, written on Kivy.

<img src="https://raw.githubusercontent.com/HeaTTheatR/KivyToast/master/Screenshot.png" align="center"/>

The package modules are written using the framework for cross-platform development of <Kivy>.
Information about the <Kivy> framework is available at http://kivy.org.

An example of usage (note that with this import the native implementation of toasts will be used for the Android platform and implementation on Kivy for others:

T282828
Tff7b72from T7ee787toast Tff7b72import Te6edf3toast

Tff7b72.Tff7b72.Tff7b72.

T8b949e# And then in the code, toasts are available
T8b949e# by calling the toast function:
Te6edf3toast Tb4b4b4(Ta5d6ff'Ta5d6ffYour messageTa5d6ff'Tb4b4b4)


To force the Kivy implementation on the Android platform, use the import of the form:

T282828
Tff7b72from T7ee787toastT7ee787.T7ee787kivytoast Tff7b72import Te6edf3toast


PROGRAMMING LANGUAGE
Python 2.7 +

DEPENDENCE
The [Kivy] framework (http://kivy.org/docs/installation/installation.html)

LICENSE
MIT


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────